package com.arpa.ntocc.common.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author gongxuhao
 * @date 2020/3/13 16:23
 */
@Data
@ApiModel(value="PartyGroupInfoVO对象", description="机构管理列表")
public class PartyGroupInfoVO implements Serializable {
    @ApiModelProperty(value = "UUID")
    private String code;

    @ApiModelProperty(value = "上级机构")
    private String parentCode;

    @ApiModelProperty(value = "机构编号")
    private String serialNumber;

    @ApiModelProperty(value = "层级：0顶级，1下级")
    private Integer level;

    @ApiModelProperty(value = "组织名称：机构/网点/入住企业")
    private String groupName;

    @ApiModelProperty(value = "简称/别称")
    private String groupNameLocal;

    private String identity;

    /*@ApiModelProperty(value = "无车承运人物流交换代码 ")
    private String senderCode;

    @ApiModelProperty(value = "无车承运人物流交换平台密码")
    private String password;

    @ApiModelProperty(value = "无车平台资源ID")
    private String resourceId;*/

    @ApiModelProperty(value = "公司地址")
    private String address;

    @ApiModelProperty(value = "座机")
    private String mobilePhone;

    @ApiModelProperty(value = "网址")
    private String wwwUrl;

    @ApiModelProperty(value = "手机")
    private String telephone;

    @ApiModelProperty(value = "主题颜色：red-红色，blue-蓝色")
    private String colorStyle;

    @ApiModelProperty(value = "软件版本")
    private String softVersion;

    @ApiModelProperty(value = "公章上传地址")
    private String misUrl;

    /*@ApiModelProperty(value = "Gps令牌")
    private String token;

    @ApiModelProperty(value = "高德地图轨迹服务ID")
    private String gdmapTraceSid;

    @ApiModelProperty(value = "0 中交兴路 1 app 2硬件 3 G7智慧物联")
    private Integer locationSource;*/

    @ApiModelProperty(value = "公司logo上传地址")
    private String logoUrl;

    /*@ApiModelProperty(value = "机构余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "短信剩余条数")
    private Integer smsCount;

    @ApiModelProperty(value = "油卡分配方式：0-线下油卡，1-线上途悠")
    private Integer oilPayType;

    @ApiModelProperty(value = "途悠e站商户编码（一般为域名）")
    private String eCode;

    @ApiModelProperty(value = "是否开启货主保证金：0否 1是")
    private Integer shipperBond;

    @ApiModelProperty(value = "冻结保证金比例")
    private BigDecimal shipperBondRate;

    @ApiModelProperty(value = "是否忽略金额小数 0否 1是")
    private Integer isIgnoreDecimal;

    @ApiModelProperty(value = "上传无车承运人平台：0-内蒙古，1-国家,2-江苏,3-湖南,4-天津,5-浙江,6-陕西,7-四川")
    private Integer isLoginkTarget;

    @ApiModelProperty(value = "无车承运人上报环境：0-测试，1-正式，默认0")
    private Integer isLoginkTargetEnvironment;

    @ApiModelProperty(value = "是否允许司机同时接多单,默认否, 0-否,1-允许多单")
    private Integer allowMult;

    @ApiModelProperty(value = "允许接多单数量---废弃")
    private Integer allowMultCount;

    @ApiModelProperty(value = "是否需要二次上传装卸货回执单 0否，1是 默认0")
    private Integer needSecondUpload;

    @ApiModelProperty(value = "司机撤销订单是否需要货主确认 0->否 ,1->是")
    private Integer cancelNeedConfirm;

    @ApiModelProperty(value = "货主查看定位是否收费:0-否,1-是")
    private Integer isShipperLoactionCharge;

    @ApiModelProperty(value = "含税价计算类型：0：1+税点，1：1-税点")
    private Integer taxType;

    @ApiModelProperty(value = "中交兴路定位来源  0-》甲方自有 1-》阿帕提供")
    private Integer isArpa;*/

    @ApiModelProperty(value = "登录页logo")
    private String loginLogoUrl;

    /*@ApiModelProperty(value = "保费支付人：1货主支付 2：司机支付")
    private Integer insuredPayer;*/

    @ApiModelProperty(value = "统一社会信用代码")
    private String uniformSocialCreditCode;

    @ApiModelProperty(value = "统一社会信用代码图片")
    private String uniformSocialCreditCodeUrl;

    /*@ApiModelProperty(value = "是否发起合同，0否，1是，默认0")
    private Integer initiatedContract;

    @ApiModelProperty(value = "0->不允许加入车队的独立司机/车队司机接单，1->允许加入车队的独立司机/车队司机接单-----废弃")
    private Integer isAllowDriver;

    @ApiModelProperty(value = "发布货源价格是否含税，0含税（默认），1不含税")
    private Integer isIncludingTaxPrice;*/

    @ApiModelProperty(value = "组织机构代码")
    private String organizationCode;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "充值金额")
    private BigDecimal chargeValue;

    @ApiModelProperty(value = "充值备注")
    private String chargeRemark;

    @ApiModelProperty(value = "充值时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime chargeTime;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "登陆账号")
    private String phone;

    @ApiModelProperty(value = "总数")
    private Long total;
}
